<?php
/**
 * Created by PhpStorm.
 * User: yhz
 * Date: 2017-12-22
 * Time: 00:31
 */

namespace app\common\model;


use app\base\BaseModel;

class AuthGroupAccess extends BaseModel
{

    public function groups()
    {
        return $this->belongsTo('AuthGroups','group_id','id')->field('id,title');

    }

}